import request from '@/utils/request'
const api_name_auth = '/auth/user'

export default {
  // 登录方法
  login(userObj) {
    return request({
      url: `${api_name_auth}/login`,
      method: 'post',
      data: userObj
    })
  }
}